<?php
/**
 * See the enclosed file license.txt for licensing information.
 * If you did not receive this file, get it at http://www.fsf.org/copyleft/gpl.html
 *
 * @copyright   The XOOPS project http://www.xoops.org/
 * @license     http://www.fsf.org/copyleft/gpl.html GNU General Public License (GPL)
 * @package     installer
 * @since       2.3.0
 * @author      Haruki Setoyama  <haruki@planewave.org>
 * @author      Kazumi Ono <webmaster@myweb.ne.jp>
 * @author      Skalpa Keo <skalpa@xoops.org>
 * @author      Taiwen Jiang <phppp@users.sourceforge.net>
 * @author      DuGris (aka L. JEN) <dugris@frxoops.org>
 * @version     $Id: config.php 1429 2008-04-02 12:27:19Z phppp $
**/

if ( !defined('XOOPS_INSTALL') ) { die('XOOPS Custom Installation die'); }

// setup config site info
$db_types  = array( 'mysql');

// setup config site info
$conf_names  = array(
	'sitename', 'slogan',
	'allow_register',
	'meta_keywords','meta_description', 'meta_author', 'meta_copyright',
);

// languages config files
$language_files = array(
			'global',
);

// extension_loaded
$extensions = array(
			'mbstring'	=> array('MBString', sprintf( PHP_EXTENSION, CHAR_ENCODING ) ),
			'iconv'		=> array('Iconv', sprintf( PHP_EXTENSION, ICONV_CONVERSION) ),
			'xml'			=> array('XML', sprintf( PHP_EXTENSION, XML_PARSING) ),
			'zlib'		=> array('Zlib', sprintf( PHP_EXTENSION, ZLIB_COMPRESSION) ),
			'gd'			=> array(( function_exists('gd_info') && $gdlib = @gd_info()) ? 'GD ' . $gdlib['GD Version'] : '', sprintf( PHP_EXTENSION, IMAGE_FUNCTIONS) ),
			'exif'		=> array('Exif', sprintf( PHP_EXTENSION, IMAGE_METAS) ),
);

// Writable files and directories
$writable = array('uploads/', 'cache/', 'templates_c/', 'mainfile.php');

// Modules to be installed by default
// $modules = array('news', 'xoopsinfo');
$modules = array('protector');

// xoops_lib, xoops_data directories
$xoopsPathDefault = array(
					'lib'   => 'xoops_lib',
					'data'  => 'xoops_data',
);

// writable xoops_lib, xoops_data directories
$dataPath = array(
					'caches'    => array(
							'xoops_cache',
							'smarty_cache',
							'smarty_compile',
					),
					'configs'	=> null
);
?>